#include "Picture.h"

Picture::Picture()
{
}

void Picture::LoadFromFile(const std::string &file)
{
	m_image.LoadFromFile(file);
	m_image.SetSmooth(false);
	sprite.SetImage(m_image);
}

void Picture::Draw(sf::RenderWindow* target)
{
	target->Draw(sprite);
}